internal/runtime/maps.table.capacity (field)

16 uses

	internal/runtime/maps (current package)
		table.go#L40: 	capacity uint16
		table.go#L105: 	t.capacity = capacity
		table.go#L117: 	if t.capacity == 0 {
		table.go#L121: 	} else if t.capacity <= abi.SwissMapGroupSlots {
		table.go#L128: 		return t.capacity - 1
		table.go#L130: 		if t.capacity*maxAvgGroupLoad < t.capacity {
		table.go#L134: 		return (t.capacity * maxAvgGroupLoad) / abi.SwissMapGroupSlots
		table.go#L509: 	if t.tombstones()*10 < t.capacity { // 10% of capacity
		table.go#L568: 	if cnt*10 < int(t.capacity) { // Can we restore 10% of capacity?
		table.go#L594: 	return (t.capacity*maxAvgGroupLoad)/abi.SwissMapGroupSlots - t.used - t.growthLeft
		table.go#L918: 		entryMask := uint64(it.tab.capacity) - 1
		table.go#L1134: 	newCapacity := 2 * t.capacity
		table.go#L1203: 	if t.capacity > 0 {
		table_debug.go#L66: 	growthLeft := (t.capacity*maxAvgGroupLoad)/abi.SwissMapGroupSlots - t.used - deleted
		table_debug.go#L88: 	capacity: `, t.capacity, `